//
//  UILabel+Helper.h
//  ketuitui
//
//  Created by apple on 14-10-25.
//  Copyright (c) 2014年 LAURA. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (Helper)

//add text left Label
+(UILabel *) addTextLeftLabelWithText: (NSString *) text font: (UIFont *) font textColor: (UIColor *) textColor backGroundColor: (UIColor *) backGroundColor frame: (CGRect) frame;

//add text right Label
+(UILabel *) addTextRightLabelWithText: (NSString *) text font: (UIFont *) font textColor: (UIColor *) textColor backGroundColor: (UIColor *) backGroundColor frame: (CGRect) frame;

//根据文字确定居中Label大小
//+(UILabel *) addCenterLabelWithText: (NSString *) text font: (UIFont *) font textColor: (UIColor *) textColor backGroundColor: (UIColor *) backGroundColor originY: (float) originY originX: (float) originX;

//根据文字确定Label大小
+(UILabel *) addAdjustLabelWithText: (NSString *) text font: (UIFont *) font textColor: (UIColor *) textColor backGroundColor: (UIColor *) backGroundColor originX: (float) originX originY: (float) originY;

//文字居中Label
+(UILabel *) addTextCenterLabelWithText: (NSString *) text font: (UIFont *) font textColor: (UIColor *) textColor backGroundColor: (UIColor *) backGroundColor frame: (CGRect) frame;

//给一个起始位置 label 根据文字大小
+(UILabel *) XaddLabelWithText: (NSString *) text font: (UIFont *) font textColor: (UIColor *) textColor backGroundColor: (UIColor *) backGroundColor textBeginRect: (CGRect) textBeginRect;

+(UILabel *) XaddLineLabel: (UIColor *) lineColor frame: (CGRect) frame;

//左右两行字分别靠近左右
+(UILabel *) addLabelRightLabelFrame: (CGRect) frame rightTextFont: (int) rightFont rightTextColor: (UIColor *) rightTextColor leftTextFont: (int) leftTextFont leftTextColor: (UIColor *) leftTextColor LabelbackGroundColor: (UIColor *) backGroundColor rightTextTitle: (NSString *) rightTextTitle leftTextTitle: (NSString *) leftTextTitle;





@end
